<div class="page-content">
    <div class="panel panel-default">
        <div class="panel-heading"><strong><{$table_data.title}></strong></div>
        <div class="panel-body">

            <form method="get" action="<{:addons_url('list_table',$params)}>" class="form-inline filter">
                <if condition="$table_data['_search'] eq 1">
                    <{:displayFormHtml("search_".$table_data['name'],$_GET,"inline")}>
                </if>

                    <div class="form-group attr-its">
                        <if condition="$table_data['_search'] eq 1">
                            <input type="submit" class="btn btn-primary btn-sm" value="筛选">
                        </if>
                        <if condition="$table_data['_showBtn'] eq 1">
                        <a href="<{:addons_url('add_table',$params)}>" class="btn btn-default btn-sm"> <i
                                class="fa fa-plus"></i> 添加 </a>
                        </if>
                        <{$table_data['_showBtnHtml']}>
                    </div>

            </form>

            <div class="bootstrap-table">
                <div class="fixed-table-container" style="padding-bottom: 0px;">
                    <div class="fixed-table-body">
                        <table id="data-table" class="table">
                            <thead>
                            <tr>

                                <volist name="show_fields" id="vo">
                                    <th style="" data-field="name">
                                        <div class="th-inner "><{$vo.lable}></div>
                                        <div class="fht-cell"></div>
                                    </th>
                                </volist>
                                <!--<th style="" data-field="id"><div class="th-inner ">操作</div>
                                    <div class="fht-cell"></div></th>-->
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="list" id="vo">
                                <tr data-index="0">
                                    <volist name="show_fields" id="vo1">
                                        <td height="36" valign="middle"><{$vo[$vo1['field']]}></td>
                                    </volist>
                                    <!--<td height="36"  valign="middle"><{$vo.field}></td>
                                    <td height="36" valign="middle"><{$vo.lable}></td>-->
                                    <!--<td height="36" valign="middle"><input type="text" key="id" placeholder="顺序" onblur="set_order(this)" table="addon_data" id="<{$vo.id}>" value="<{$vo.order_by}>" autocomplete="off"></td>-->
                                    <!--	<td style=""><a  href="<{:addons_url('add_table',array('id'=> $vo['id'],'auto_complete_name'=>$auto_complete_name))}>" class="btn btn-primary btn-xs">修改</a> <a data-type="confirm" content="确认需要删除些信息吗" href="<{:addons_url('del_table',array('id'=>$vo['id'],'auto_complete_name'=>$auto_complete_name))}>" class="btn btn-primary btn-xs">删除</a></td>-->
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                    </div>
                    <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html"/>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
